package com.augmentum.login.service;

import java.util.List;

import com.augmentum.login.exception.ParamException;
import com.augmentum.login.exception.ServiceException;
import com.augmentum.login.model.Page;
import com.augmentum.login.model.User;

public interface UserService {
    public User getUser(String userName, String password) throws ParamException, ServiceException;
    public void modifyPassword(int id, String name);
    public void modifyUser(User user);
    public void create(User user);
    public List<User> getAllUsers();
    public List<User> findListBYpage(String name, String role, Page page);
    public void deleteUserForBatch(String idsStr, String type);
    public User getUserByName(String name);
    
}
